Color.r Property

Gets or sets the red component of the color.
 

Property Value

Type: Number
The red component value between 0 and 255 (inclusive.)